package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.TravelComment;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ITravelCommentService {
    void save(TravelComment entity);

    PageInfo<?> query(QueryObject qo);

    void saveOrUpdate(TravelComment entity);

    void update(TravelComment entity);

    List<TravelComment> list();

    PageInfo<TravelComment> queryAll(QueryObject qo);

    Integer queryCommentCount(Long uid);

    void changeStatus(Long uid);

}
